package com.lanou.myim.model;

import com.lanou.myim.entity.MsgEty;
import com.lanou.myim.presenter.OnCompletedListener;

import java.util.List;

/**
 * Created by dllo on 16/3/4.
 */
public interface ConversationModelInterface {

    void insertMsg(MsgEty msgEty,final OnCompletedListener completedListener);
    void deleteMsg(MsgEty msgEty,final OnCompletedListener completedListener);
    List<MsgEty> getNormalMsgEtyList();
    List<MsgEty> getStickiedMsgEtyList(String userName);
    Integer getUnreadMsgCount(String userName);
    String getPinYin(String input);
    List<MsgEty> searchMsg(String str);

}
